
/** ported from the wair bonus examples zip file */

import firewatig.*

import groovy.util.GroovyTestCase

class ArticleExample extends GroovyTestCase {

  void testSearch () {
    def ff = new Firefox()
    ff.go("http://www.google.com/ncr")
    ff.textField("name", "q").set("pickaxe")
    ff.button("value","Google Search").click()
    assert(ff.text().contains("Programming Ruby: The Pragmatic Programmer's Guide"));
  }

  
}